package cn.shenshen.shop.util;

import lombok.NoArgsConstructor;


@NoArgsConstructor
public class SeckillServerCodeMsg extends CodeMsg {

    public SeckillServerCodeMsg(int code, String msg) {
        super(code, msg);
    }

    public static final SeckillServerCodeMsg GOOD_LIST_EMPTY = new SeckillServerCodeMsg(500301, "查询不到商品");
    public static final SeckillServerCodeMsg LOGIN_ERROR = new SeckillServerCodeMsg(500302, "登录信息已经过期");
    public static final SeckillServerCodeMsg OP_ERROR = new SeckillServerCodeMsg(500303, "非法请求");
    public static final SeckillServerCodeMsg STOCK_OVER = new SeckillServerCodeMsg(500304, "您来晚了，商品已经被抢购完毕.");
    public static final SeckillServerCodeMsg SECKILL_REPEAT = new SeckillServerCodeMsg(500305, "请不要重复秒杀.");
    public static final SeckillServerCodeMsg SECKILL_ERROR = new SeckillServerCodeMsg(500306, "秒杀失败");
    public static final SeckillServerCodeMsg VERIFYCODE_ERROR = new SeckillServerCodeMsg(500307, "验证码有误");
}
